package com.reef.dao;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.jpa.repository.Query;

import com.reef.entity.Bookborrew_view;

public interface BookborrewviewRepository extends JpaRepository<Bookborrew_view, Integer>,JpaSpecificationExecutor<Bookborrew_view>{
	/**
	 * 查询专业
	 */
	@Query(value = "select distinct class_name from bookborrew_view" ,nativeQuery = true )
	List<String> selClassName();
}
